package co.com.ejb;

import javax.interceptor.AroundInvoke;
import javax.interceptor.Interceptor;
import javax.interceptor.InvocationContext;

public class MyInterceptor {

	@AroundInvoke
	public Object intercept(InvocationContext ctx) throws Exception {
		System.out.println("Se intercepta el llamado a " + ctx.getMethod().getName());
		return ctx.proceed();
	}
}
